package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.app.dto.MyRecordDto;
import com.yami.shop.bean.model.WxRecord;
import com.yami.shop.bean.param.WxRecordParam;
import me.chanjar.weixin.cp.bean.kf.WxCpKfMsgListResp;

/**
 * <p>
 * 用户表单提交记录表 服务类
 * </p>
 *
 * @author kubilewang
 * @since 2022-02-27
 */
public interface IWxRecordService extends IService<WxRecord> {
    IPage<WxRecord> getList(Page<WxRecord> page, WxRecordParam wxRecordParam);

    void sendMsg(WxCpKfMsgListResp wxCpKfMsgListResp) throws Exception;

    IPage<MyRecordDto> pageMyByUserId(Page<MyRecordDto> page, String userId);
}
